<?php

abstract class Reale_Model_Estate_Generic
{
	/**
	 * 
	 * Stores estate identification number
	 * @var string|int
	 */
	protected $_estate_id;
	
	/**
	 * 
	 * Stores estate's category identification
	 * @var string
	 */
	protected $_category_id;
	
	/**
	 * 
	 * Stores estate's type identification 
	 * @var string
	 */
	protected $_type_id;
	
	/**
	 * 
	 * Stores estate's status identification
	 * @var string
	 */
	protected $_status_id;

	/**
	 * 
	 * Stores estate's bhk (if applicable)
	 * @var int
	 */
	protected $_bhk;
	
	/**
	 * 
	 * Stores estate's size
	 * @var double
	 */
	protected $_size;
	
	/**
	 * 
	 * Stores estate's size units
	 * @var string
	 */
	protected $_size_units;
	
	/**
	 * 
	 * Stores estate's count
	 * @var int
	 */
	protected $_count;
	
	/**
	 * 
	 * Stores estate's rate (per unit size)
	 * @var double
	 */
	protected $_rate;
	
	/**
	 * 
	 * Stores estate's state
	 * @var string
	 */
	protected $_state;
	
	/**
	 * 
	 * Stores estate's city
	 * @var string
	 */
	protected $_city;
	
	/**
	 * 
	 * Stores estate's location
	 * @var string
	 */
	protected $_location;
	
	/**
	 * 
	 * Stores estate summary
	 * @var string
	 */
	protected $_summary;

	/**
	 * 
	 * Setter function for data member estate_id 
	 * @param string|int estate_id
	 */
	public function setEstate_id($estate_id) {
		$this->_estate_id = $estate_id;
		return $this;
	}
	
	/**
	 * 
	 * Getter function for data member estate_id
	 * @return int $_estate_id
	 */
	public function getEstate_id() {
		if(isset($this->_estate_id)){
			return $this->_estate_id;	
		}
		//throw new Exception('The objects primary key(i.e. $_estate_id) is not set.',Zend_Log::ERR); 
	}

	/**
	 * 
	 * Setter function for data member category id 
	 * @param string category_id
	 */
	public function setCategory_id($category_id) {
		$this->_category_id = $category_id;
		return $this;
	}
	
	/**
	 * 
	 * Getter function for data member category id
	 * @return string $_category_id
	 */
	public function getCategory_id() {
		if(isset($this->_category_id)){
		return $this->_category_id;	
		}
		
		return null;
	}
	
	/**
	 * 
	 * Setter function for data member type id 
	 * @param string type_id
	 */
	public function setType_id($type_id) {
		$this->_type_id = $type_id;
		return $this;
	}
	
	/**
	 * 
	 * Getter function for data member type id
	 * @return string $_type_id
	 */
	public function getType_id() {
		if(isset($this->_type_id)){
		return $this->_type_id;	
		}
		return null;
	}
	
	/**
	 * 
	 * Setter function for data member status id 
	 * @param string status_id
	 */
	public function setStatus_id($status_id) {
		$this->_status_id = $status_id;
		return $this;
	}
	
	/**
	 * 
	 * Getter function for data member status id
	 * @return string $_status_id
	 */
	public function getStatus_id() {
		if(isset($this->_status_id)){
		return $this->_status_id;	
		}
		return null;
	}
	
	/**
	 * 
	 * Setter function for data member bhk 
	 * @param int bkh
	 */
	public function setBhk($bhk) {
		$this->_bhk = $bhk;
		return $this;
	}
	
	/**
	 * 
	 * Getter function for data member bhk
	 * @return string $_bhk
	 */
	public function getBhk() {
		if(isset($this->_bhk)){
		return $this->_bhk;	
		}
		return null;
	}

	/**
	 * 
	 * Setter function for data member size 
	 * @param int size
	 */
	public function setSize($size) {
		$this->_size = $size;
		return $this;
	}
	
	/**
	 * 
	 * Getter function for data member size
	 * @return string $_size
	 */
	public function getSize() {
		if(isset($this->_size)){
		return $this->_size;	
		}
		return null;
	}
	
    /**
	 * 
	 * Setter function for data member size units 
	 * @param string size_units
	 */
	public function setSize_units($size_units) {
		$this->_size_units = $size_units;
		return $this;
	}
	
	/**
	 * 
	 * Getter function for data member size units
	 * @return string $_size_units
	 */
	public function getSize_units() {
		if(isset($this->_size_units)){
		return $this->_size_units;	
		}
		return null;
	}
	
	/**
	 * 
	 * Setter function for data member count 
	 * @param int count
	 */
	public function setCount($count) {
		$this->_count = $count;
		return $this;
	}
	
	/**
	 * 
	 * Getter function for data member count
	 * @return int $_count
	 */
	public function getCount() {
		if(isset($this->_count)){
		return $this->_count;	
		}
		return null;
	}
	
	/**
	 * 
	 * Setter function for data member rate 
	 * @param double rate
	 */
	public function setRate($rate) {
		$this->_rate = $rate;
		return $this;
	}
	
	/**
	 * 
	 * Getter function for data member rate
	 * @return double $_rate
	 */
	public function getRate() {
		if(isset($this->_rate)){
		return $this->_rate;	
		}
		return null;
	}

	/**
	 * 
	 * Setter function for data member state 
	 * @param string state
	 */
	public function setState($state) {
		$this->_state = $state;
		return $this;
	}
	
	/**
	 * 
	 * Getter function for data member state
	 * @return string $_state
	 */
	public function getState() {
		if(isset($this->_state)){
		return $this->_state;	
		}
		return null; 
	}
	

	/**
	 * 
	 * Setter function for data member city 
	 * @param string city
	 */
	public function setCity($city) {
		$this->_city = $city;
		return $this;
	}
	
	/**
	 * 
	 * Getter function for data member city
	 * @return string $_city
	 */
	public function getCity() {
		if(isset($this->_city)){
		return $this->_city;	
		}
		return null;  
	}
	
	/**
	 * 
	 * Setter function for data member location 
	 * @param string location
	 */
	public function setLocation($location) {
		$this->_location = $location;
		return $this;
	}
	
	/**
	 * 
	 * Getter function for data member location
	 * @return string $_location
	 */
	public function getLocation() {
		if(isset($this->_location)){
		return $this->_location;	
		}
		return null;
	}
	
	/**
	 * 
	 * Setter function for data member summary 
	 * @param string summary
	 */
	public function setSummary($summary) {
		$this->_summary = $summary;
		return $this;
	}
	
	/**
	 * 
	 * Getter function for data member summary
	 * @return string $_summary
	 */
	public function getSummary() {
		if(isset($this->_summary)){
		return $this->_summary;	
		}
		return null;
	}
	
}

